  <!-- Le styles -->
 <link href="__CSS__/bootstrap.css" rel="stylesheet">
 <link href="__CSS__/doc.css" rel="stylesheet" />
 <link href="__JS__/google-code-prettify/prettify.css" rel="stylesheet" />
     <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
    </style>
    
  <link href="__CSS__/bootstrap-responsive.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
	
      <script src="__JS__/html5shim.js"></script>
<div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="__APP__/index/index">上海应用技术学院课程中心</a>
          <div class="nav-collapse">
            <ul class="nav">
              <li><a href="__APP__/index/index">主页</a></li>
              <li><a href='__APP__/course/index'>院系展示</a></li>
              <li><a href='__APP__/user/index' >管理页面</a></li>
            </ul>
             <p style="text-align:right">
              	<if condition="$role eq '访客'">
                	<a  href="__APP__/auth/logon?url=__SELF__" class="btn btn-primary">登陆</a>
						<else/>
						欢迎：<span class="label">{$name}&nbsp;</span>
                       <a href="__APP__/auth/logout?url=__SELF__" class="btn btn-primary">注销</a>
					</if>
              </p>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
 
    <!---  <script src="__JS__/jQuery/jquery.js" ></script>-->
            <!--	<script src="__JS__/jquery.js" ></script>
				<script src="__JS__/bootstrap-transition.js"></script>
                <script src="__JS__/bootstrap-alert.js"></script>
                <script src="__JS__/bootstrap-modal.js"></script>
                <script src="__JS__/bootstrap-dropdown.js"></script>
                <script src="__JS__/bootstrap-scrollspy.js"></script>
                <script src="__JS__/bootstrap-tab.js"></script>
                <script src="__JS__/bootstrap-tooltip.js"></script>
                <script src="__JS__/bootstrap-popover.js"></script>
                <script src="__JS__/bootstrap-button.js"></script>
                <script src="__JS__/bootstrap-collapse.js"></script>
                <script src="__JS__/bootstrap-carousel.js"></script>
                <script src="__JS__/bootstrap-typeahead.js"></script> -->
             	 <!-- <load href="__JS__/jQuery/jquery.js" />
 <load href="__JS__/jQuery/jquery.form.js" />
<script type="text/JavaScript">
$(function(){
    $('#form1').ajaxForm({
        //beforeSubmit:  function(){alert("before");},  // pre-submit callback
        success:       complete,  // post-submit callback
        error:function(){alert("error");},
        dataType: 'json'
    });
    
    function complete(data){
        if (data.status==1)
        {
        	if(data.data!=0)
        		window.location=data.data;
        	else
        		window.location=window.location.href;
        }else{
            $('#result').html(data.info).show();
        }
    }
});
</script>-->
